permit (bgp-ip-access-list)

Creates and configures a permit entry for this BGP IP ACL

Supported in the following platforms:

Syntax

permit access-list [<PREFIX-TO-MATCH/MASK> {exact-match}|any]

Parameters

permit access-list [<PREFIX-TO-MATCH/MASK> {exact-match}|any]
permit access-list [<PREFIX-TO-MATCH/MASK> {exact-match}|any] Creates and configures a permit entry for this BGP IP ACL
  • <PREFIX-TO-MATCH/MASK> – Specify the prefix to match.
    • exact-match – Optional. Enables an exact match of the prefix provided in the previous step. When configured, the route is permitted only in case of an exact match.
  • any – Specifies the prefix to match as ‘any‘.

Examples

nx9500-6C8809(config-bgp-ip-access-list-test)#permit access-list 172.168.10.0/24
nx9500-6C8809(config-bgp-ip-access-list-test)#show context
bgp ip-access-list test
 permit access-list 172.168.10.0/24
 deny access-list 192.168.13.0/24 exact-match
nx9500-6C8809(config-bgp-ip-access-list-test)#

Related Commands

no (bgp-ip-acess-list) Removes the specified the permit entry in this IP BGP ACL